// @ts-ignore
/* eslint-disable */
import { request } from 'umi';

/** 分类列表接口 GET /member/blog/category/lists */
export async function lists(body, options?: { [key: string]: any }) {
  return request('/api/blog/category/lists', {
    method: 'GET',
    headers: {
      'Content-Type': 'application/json',
    },
    params: body,
    ...(options || {}),
  });
}
